Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add chr built-in function #2922

Merged
merged 2 commits into from
Oct 12, 2023

Conversation

chrisnovakovic
Copy link
Contributor

chr(i)

This behaves similarly to Python's built-in chr function: for a given integer i, it returns a string containing the character whose Unicode code point is i. It is an error to provide an i that is not an integer or falls outside the Unicode code point range.

```
chr(i)
```

This behaves similarly to Python's built-in `chr` function: for a given
integer `i`, it returns a string containing the character whose Unicode
code point is `i`. It is an error to provide an `i` that is not an
integer or falls outside the Unicode code point range.
@chrisnovakovic chrisnovakovic merged commit 11c8e0c into thought-machine:master Oct 12, 2023
5 checks passed
@chrisnovakovic chrisnovakovic deleted the chr-builtin branch October 12, 2023 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants